package com.woniuxy.huayoung.mapper;

import com.woniuxy.huayoung.entity.Order;

import java.util.List;

/**
 * @author dushen
 * @className: OrderMapper
 * @description: TODO 类描述
 * @create 2021-07-20-14:15
 */
public interface OrderMapper {

//    插入飞机票订单
    public void insertFlightOrder(Order order);

    //查询当前用户未支付的订单
    public List<Order> notPay(int uid);

    public List<Order> havePay(int uid);

    //
    public int pay(String orderno);


    //根据订单编号查询订单详情
    Order findOrder(String orderNo);

    //查询所有酒店订单
    public List<Order> all();
    //查询所有机票订单
    public List<Order> ticket();
    //查询所有旅游订单
    public List<Order> travel();
    //更改订单支付状态
    public void updateorder(String orderno);

}
